<%= flash[:notice] %>
<%= error_messages_for :user %>
<% form_for :user, :url => set_password_user_path(@user) do  -%>
<p><label for="login">Login: </label><%= @user.login %></p>

<p><label for="password">Password</label><br/>
<%= password_field_tag 'password' %></p>

<p><label for="password_confirmation">Confirm Password</label><br/>
<%= password_field_tag 'password_confirmation' %></p>

<p><%= submit_tag 'Change password' %></p>
<% end -%>
